﻿using ZBJF.Warranty.Model;
namespace ZBJF.Warranty.BLL
{
	
	public partial class AccessoriesLevelService:BaseService<Model.AccessoriesLevel>,IBLL.IAccessoriesLevelService	
    { 
		private static AccessoriesLevelService _instance;
        private static readonly object Lock = new object();
        public static AccessoriesLevelService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new AccessoriesLevelService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.AccessoriesLevelRepository;
        }  
    }
	
	public partial class AccessoriesQuotationService:BaseService<Model.AccessoriesQuotation>,IBLL.IAccessoriesQuotationService	
    { 
		private static AccessoriesQuotationService _instance;
        private static readonly object Lock = new object();
        public static AccessoriesQuotationService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new AccessoriesQuotationService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.AccessoriesQuotationRepository;
        }  
    }
	
	public partial class AccessoriesTypeService:BaseService<Model.AccessoriesType>,IBLL.IAccessoriesTypeService	
    { 
		private static AccessoriesTypeService _instance;
        private static readonly object Lock = new object();
        public static AccessoriesTypeService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new AccessoriesTypeService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.AccessoriesTypeRepository;
        }  
    }
	
	public partial class ApiPlatformConfigService:BaseService<Model.ApiPlatformConfig>,IBLL.IApiPlatformConfigService	
    { 
		private static ApiPlatformConfigService _instance;
        private static readonly object Lock = new object();
        public static ApiPlatformConfigService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ApiPlatformConfigService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ApiPlatformConfigRepository;
        }  
    }
	
	public partial class AppSettingsService:BaseService<Model.AppSettings>,IBLL.IAppSettingsService	
    { 
		private static AppSettingsService _instance;
        private static readonly object Lock = new object();
        public static AppSettingsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new AppSettingsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.AppSettingsRepository;
        }  
    }
	
	public partial class AuditProjectConfigurationService:BaseService<Model.AuditProjectConfiguration>,IBLL.IAuditProjectConfigurationService	
    { 
		private static AuditProjectConfigurationService _instance;
        private static readonly object Lock = new object();
        public static AuditProjectConfigurationService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new AuditProjectConfigurationService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.AuditProjectConfigurationRepository;
        }  
    }
	
	public partial class AuditProjectFieldOptionService:BaseService<Model.AuditProjectFieldOption>,IBLL.IAuditProjectFieldOptionService	
    { 
		private static AuditProjectFieldOptionService _instance;
        private static readonly object Lock = new object();
        public static AuditProjectFieldOptionService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new AuditProjectFieldOptionService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.AuditProjectFieldOptionRepository;
        }  
    }
	
	public partial class CellPhoneInsuranceInfoService:BaseService<Model.CellPhoneInsuranceInfo>,IBLL.ICellPhoneInsuranceInfoService	
    { 
		private static CellPhoneInsuranceInfoService _instance;
        private static readonly object Lock = new object();
        public static CellPhoneInsuranceInfoService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new CellPhoneInsuranceInfoService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.CellPhoneInsuranceInfoRepository;
        }  
    }
	
	public partial class CellPhoneServiceProjectService:BaseService<Model.CellPhoneServiceProject>,IBLL.ICellPhoneServiceProjectService	
    { 
		private static CellPhoneServiceProjectService _instance;
        private static readonly object Lock = new object();
        public static CellPhoneServiceProjectService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new CellPhoneServiceProjectService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.CellPhoneServiceProjectRepository;
        }  
    }
	
	public partial class CollectTypeCollectItemMappingsService:BaseService<Model.CollectTypeCollectItemMappings>,IBLL.ICollectTypeCollectItemMappingsService	
    { 
		private static CollectTypeCollectItemMappingsService _instance;
        private static readonly object Lock = new object();
        public static CollectTypeCollectItemMappingsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new CollectTypeCollectItemMappingsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.CollectTypeCollectItemMappingsRepository;
        }  
    }
	
	public partial class CustomerServiceAndInsuranceOrderMappingService:BaseService<Model.CustomerServiceAndInsuranceOrderMapping>,IBLL.ICustomerServiceAndInsuranceOrderMappingService	
    { 
		private static CustomerServiceAndInsuranceOrderMappingService _instance;
        private static readonly object Lock = new object();
        public static CustomerServiceAndInsuranceOrderMappingService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new CustomerServiceAndInsuranceOrderMappingService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.CustomerServiceAndInsuranceOrderMappingRepository;
        }  
    }
	
	public partial class D_CityService:BaseService<Model.D_City>,IBLL.ID_CityService	
    { 
		private static D_CityService _instance;
        private static readonly object Lock = new object();
        public static D_CityService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new D_CityService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.D_CityRepository;
        }  
    }
	
	public partial class D_ProvinceService:BaseService<Model.D_Province>,IBLL.ID_ProvinceService	
    { 
		private static D_ProvinceService _instance;
        private static readonly object Lock = new object();
        public static D_ProvinceService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new D_ProvinceService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.D_ProvinceRepository;
        }  
    }
	
	public partial class InsuranceCompanyService:BaseService<Model.InsuranceCompany>,IBLL.IInsuranceCompanyService	
    { 
		private static InsuranceCompanyService _instance;
        private static readonly object Lock = new object();
        public static InsuranceCompanyService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceCompanyService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceCompanyRepository;
        }  
    }
	
	public partial class InsuranceOrderService:BaseService<Model.InsuranceOrder>,IBLL.IInsuranceOrderService	
    { 
		private static InsuranceOrderService _instance;
        private static readonly object Lock = new object();
        public static InsuranceOrderService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceOrderService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceOrderRepository;
        }  
    }
	
	public partial class InsuranceOrderCheckLogService:BaseService<Model.InsuranceOrderCheckLog>,IBLL.IInsuranceOrderCheckLogService	
    { 
		private static InsuranceOrderCheckLogService _instance;
        private static readonly object Lock = new object();
        public static InsuranceOrderCheckLogService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceOrderCheckLogService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceOrderCheckLogRepository;
        }  
    }
	
	public partial class InsuranceOrderImageService:BaseService<Model.InsuranceOrderImage>,IBLL.IInsuranceOrderImageService	
    { 
		private static InsuranceOrderImageService _instance;
        private static readonly object Lock = new object();
        public static InsuranceOrderImageService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceOrderImageService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceOrderImageRepository;
        }  
    }
	
	public partial class InsuranceProductAuditProjectConfigurationSnapshootService:BaseService<Model.InsuranceProductAuditProjectConfigurationSnapshoot>,IBLL.IInsuranceProductAuditProjectConfigurationSnapshootService	
    { 
		private static InsuranceProductAuditProjectConfigurationSnapshootService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductAuditProjectConfigurationSnapshootService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductAuditProjectConfigurationSnapshootService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductAuditProjectConfigurationSnapshootRepository;
        }  
    }
	
	public partial class InsuranceProductAvailableModelSnapshootService:BaseService<Model.InsuranceProductAvailableModelSnapshoot>,IBLL.IInsuranceProductAvailableModelSnapshootService	
    { 
		private static InsuranceProductAvailableModelSnapshootService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductAvailableModelSnapshootService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductAvailableModelSnapshootService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductAvailableModelSnapshootRepository;
        }  
    }
	
	public partial class InsuranceProductAvailableScreenSnapshootService:BaseService<Model.InsuranceProductAvailableScreenSnapshoot>,IBLL.IInsuranceProductAvailableScreenSnapshootService	
    { 
		private static InsuranceProductAvailableScreenSnapshootService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductAvailableScreenSnapshootService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductAvailableScreenSnapshootService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductAvailableScreenSnapshootRepository;
        }  
    }
	
	public partial class InsuranceProductInfoCollectItemSnapshootService:BaseService<Model.InsuranceProductInfoCollectItemSnapshoot>,IBLL.IInsuranceProductInfoCollectItemSnapshootService	
    { 
		private static InsuranceProductInfoCollectItemSnapshootService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductInfoCollectItemSnapshootService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductInfoCollectItemSnapshootService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductInfoCollectItemSnapshootRepository;
        }  
    }
	
	public partial class InsuranceProductOrderService:BaseService<Model.InsuranceProductOrder>,IBLL.IInsuranceProductOrderService	
    { 
		private static InsuranceProductOrderService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductOrderService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductOrderService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductOrderRepository;
        }  
    }
	
	public partial class InsuranceProductOrderCardService:BaseService<Model.InsuranceProductOrderCard>,IBLL.IInsuranceProductOrderCardService	
    { 
		private static InsuranceProductOrderCardService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductOrderCardService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductOrderCardService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductOrderCardRepository;
        }  
    }
	
	public partial class InsuranceProductPackageService:BaseService<Model.InsuranceProductPackage>,IBLL.IInsuranceProductPackageService	
    { 
		private static InsuranceProductPackageService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductPackageService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductPackageService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductPackageRepository;
        }  
    }
	
	public partial class InsuranceProductPackageMappingService:BaseService<Model.InsuranceProductPackageMapping>,IBLL.IInsuranceProductPackageMappingService	
    { 
		private static InsuranceProductPackageMappingService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductPackageMappingService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductPackageMappingService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductPackageMappingRepository;
        }  
    }
	
	public partial class InsuranceProductsService:BaseService<Model.InsuranceProducts>,IBLL.IInsuranceProductsService	
    { 
		private static InsuranceProductsService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductsRepository;
        }  
    }
	
	public partial class InsuranceProductsAuditProjectConfigurationMappingsService:BaseService<Model.InsuranceProductsAuditProjectConfigurationMappings>,IBLL.IInsuranceProductsAuditProjectConfigurationMappingsService	
    { 
		private static InsuranceProductsAuditProjectConfigurationMappingsService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductsAuditProjectConfigurationMappingsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductsAuditProjectConfigurationMappingsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductsAuditProjectConfigurationMappingsRepository;
        }  
    }
	
	public partial class InsuranceProductsAvailableModelTypeService:BaseService<Model.InsuranceProductsAvailableModelType>,IBLL.IInsuranceProductsAvailableModelTypeService	
    { 
		private static InsuranceProductsAvailableModelTypeService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductsAvailableModelTypeService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductsAvailableModelTypeService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductsAvailableModelTypeRepository;
        }  
    }
	
	public partial class InsuranceProductsAvailableScreenTypeService:BaseService<Model.InsuranceProductsAvailableScreenType>,IBLL.IInsuranceProductsAvailableScreenTypeService	
    { 
		private static InsuranceProductsAvailableScreenTypeService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductsAvailableScreenTypeService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductsAvailableScreenTypeService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductsAvailableScreenTypeRepository;
        }  
    }
	
	public partial class InsuranceProductScreenSPsService:BaseService<Model.InsuranceProductScreenSPs>,IBLL.IInsuranceProductScreenSPsService	
    { 
		private static InsuranceProductScreenSPsService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductScreenSPsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductScreenSPsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductScreenSPsRepository;
        }  
    }
	
	public partial class InsuranceProductScreenSPsSnapshootService:BaseService<Model.InsuranceProductScreenSPsSnapshoot>,IBLL.IInsuranceProductScreenSPsSnapshootService	
    { 
		private static InsuranceProductScreenSPsSnapshootService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductScreenSPsSnapshootService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductScreenSPsSnapshootService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductScreenSPsSnapshootRepository;
        }  
    }
	
	public partial class InsuranceProductSellerProductsSnapshootService:BaseService<Model.InsuranceProductSellerProductsSnapshoot>,IBLL.IInsuranceProductSellerProductsSnapshootService	
    { 
		private static InsuranceProductSellerProductsSnapshootService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductSellerProductsSnapshootService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductSellerProductsSnapshootService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductSellerProductsSnapshootRepository;
        }  
    }
	
	public partial class InsuranceProductsInfoCollectCategoryService:BaseService<Model.InsuranceProductsInfoCollectCategory>,IBLL.IInsuranceProductsInfoCollectCategoryService	
    { 
		private static InsuranceProductsInfoCollectCategoryService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductsInfoCollectCategoryService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductsInfoCollectCategoryService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductsInfoCollectCategoryRepository;
        }  
    }
	
	public partial class InsuranceProductsInfoCollectItemService:BaseService<Model.InsuranceProductsInfoCollectItem>,IBLL.IInsuranceProductsInfoCollectItemService	
    { 
		private static InsuranceProductsInfoCollectItemService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductsInfoCollectItemService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductsInfoCollectItemService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductsInfoCollectItemRepository;
        }  
    }
	
	public partial class InsuranceProductsInfoCollectItemMappingsService:BaseService<Model.InsuranceProductsInfoCollectItemMappings>,IBLL.IInsuranceProductsInfoCollectItemMappingsService	
    { 
		private static InsuranceProductsInfoCollectItemMappingsService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductsInfoCollectItemMappingsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductsInfoCollectItemMappingsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductsInfoCollectItemMappingsRepository;
        }  
    }
	
	public partial class InsuranceProductWarrantyMaintenanceTypesService:BaseService<Model.InsuranceProductWarrantyMaintenanceTypes>,IBLL.IInsuranceProductWarrantyMaintenanceTypesService	
    { 
		private static InsuranceProductWarrantyMaintenanceTypesService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductWarrantyMaintenanceTypesService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductWarrantyMaintenanceTypesService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductWarrantyMaintenanceTypesRepository;
        }  
    }
	
	public partial class InsuranceProductWarrantyMaintenanceTypesSnapshootService:BaseService<Model.InsuranceProductWarrantyMaintenanceTypesSnapshoot>,IBLL.IInsuranceProductWarrantyMaintenanceTypesSnapshootService	
    { 
		private static InsuranceProductWarrantyMaintenanceTypesSnapshootService _instance;
        private static readonly object Lock = new object();
        public static InsuranceProductWarrantyMaintenanceTypesSnapshootService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceProductWarrantyMaintenanceTypesSnapshootService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceProductWarrantyMaintenanceTypesSnapshootRepository;
        }  
    }
	
	public partial class InsuranceWarrantyBendTheRulesRecordService:BaseService<Model.InsuranceWarrantyBendTheRulesRecord>,IBLL.IInsuranceWarrantyBendTheRulesRecordService	
    { 
		private static InsuranceWarrantyBendTheRulesRecordService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyBendTheRulesRecordService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyBendTheRulesRecordService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyBendTheRulesRecordRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordService:BaseService<Model.InsuranceWarrantyRecord>,IBLL.IInsuranceWarrantyRecordService	
    { 
		private static InsuranceWarrantyRecordService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordAccessoriesService:BaseService<Model.InsuranceWarrantyRecordAccessories>,IBLL.IInsuranceWarrantyRecordAccessoriesService	
    { 
		private static InsuranceWarrantyRecordAccessoriesService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordAccessoriesService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordAccessoriesService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordAccessoriesRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordAuditInfoService:BaseService<Model.InsuranceWarrantyRecordAuditInfo>,IBLL.IInsuranceWarrantyRecordAuditInfoService	
    { 
		private static InsuranceWarrantyRecordAuditInfoService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordAuditInfoService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordAuditInfoService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordAuditInfoRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordContractInfoService:BaseService<Model.InsuranceWarrantyRecordContractInfo>,IBLL.IInsuranceWarrantyRecordContractInfoService	
    { 
		private static InsuranceWarrantyRecordContractInfoService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordContractInfoService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordContractInfoService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordContractInfoRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordExpressInfoService:BaseService<Model.InsuranceWarrantyRecordExpressInfo>,IBLL.IInsuranceWarrantyRecordExpressInfoService	
    { 
		private static InsuranceWarrantyRecordExpressInfoService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordExpressInfoService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordExpressInfoService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordExpressInfoRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordFeedBackIussesService:BaseService<Model.InsuranceWarrantyRecordFeedBackIusses>,IBLL.IInsuranceWarrantyRecordFeedBackIussesService	
    { 
		private static InsuranceWarrantyRecordFeedBackIussesService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordFeedBackIussesService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordFeedBackIussesService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordFeedBackIussesRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordFreeService:BaseService<Model.InsuranceWarrantyRecordFree>,IBLL.IInsuranceWarrantyRecordFreeService	
    { 
		private static InsuranceWarrantyRecordFreeService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordFreeService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordFreeService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordFreeRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordImagesService:BaseService<Model.InsuranceWarrantyRecordImages>,IBLL.IInsuranceWarrantyRecordImagesService	
    { 
		private static InsuranceWarrantyRecordImagesService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordImagesService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordImagesService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordImagesRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordInfoCollectService:BaseService<Model.InsuranceWarrantyRecordInfoCollect>,IBLL.IInsuranceWarrantyRecordInfoCollectService	
    { 
		private static InsuranceWarrantyRecordInfoCollectService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordInfoCollectService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordInfoCollectService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordInfoCollectRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordItemService:BaseService<Model.InsuranceWarrantyRecordItem>,IBLL.IInsuranceWarrantyRecordItemService	
    { 
		private static InsuranceWarrantyRecordItemService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordItemService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordItemService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordItemRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordServiceUserService:BaseService<Model.InsuranceWarrantyRecordServiceUser>,IBLL.IInsuranceWarrantyRecordServiceUserService	
    { 
		private static InsuranceWarrantyRecordServiceUserService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordServiceUserService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordServiceUserService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordServiceUserRepository;
        }  
    }
	
	public partial class InsuranceWarrantyRecordStatusService:BaseService<Model.InsuranceWarrantyRecordStatus>,IBLL.IInsuranceWarrantyRecordStatusService	
    { 
		private static InsuranceWarrantyRecordStatusService _instance;
        private static readonly object Lock = new object();
        public static InsuranceWarrantyRecordStatusService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new InsuranceWarrantyRecordStatusService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.InsuranceWarrantyRecordStatusRepository;
        }  
    }
	
	public partial class OpreateFinanceLogsService:BaseService<Model.OpreateFinanceLogs>,IBLL.IOpreateFinanceLogsService	
    { 
		private static OpreateFinanceLogsService _instance;
        private static readonly object Lock = new object();
        public static OpreateFinanceLogsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new OpreateFinanceLogsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.OpreateFinanceLogsRepository;
        }  
    }
	
	public partial class OpreateLogsService:BaseService<Model.OpreateLogs>,IBLL.IOpreateLogsService	
    { 
		private static OpreateLogsService _instance;
        private static readonly object Lock = new object();
        public static OpreateLogsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new OpreateLogsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.OpreateLogsRepository;
        }  
    }
	
	public partial class PageActionService:BaseService<Model.PageAction>,IBLL.IPageActionService	
    { 
		private static PageActionService _instance;
        private static readonly object Lock = new object();
        public static PageActionService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new PageActionService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.PageActionRepository;
        }  
    }
	
	public partial class PageMenuService:BaseService<Model.PageMenu>,IBLL.IPageMenuService	
    { 
		private static PageMenuService _instance;
        private static readonly object Lock = new object();
        public static PageMenuService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new PageMenuService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.PageMenuRepository;
        }  
    }
	
	public partial class PageToActionService:BaseService<Model.PageToAction>,IBLL.IPageToActionService	
    { 
		private static PageToActionService _instance;
        private static readonly object Lock = new object();
        public static PageToActionService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new PageToActionService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.PageToActionRepository;
        }  
    }
	
	public partial class ProcessLogsService:BaseService<Model.ProcessLogs>,IBLL.IProcessLogsService	
    { 
		private static ProcessLogsService _instance;
        private static readonly object Lock = new object();
        public static ProcessLogsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ProcessLogsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ProcessLogsRepository;
        }  
    }
	
	public partial class ProductBrandsService:BaseService<Model.ProductBrands>,IBLL.IProductBrandsService	
    { 
		private static ProductBrandsService _instance;
        private static readonly object Lock = new object();
        public static ProductBrandsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ProductBrandsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ProductBrandsRepository;
        }  
    }
	
	public partial class ProductModelsService:BaseService<Model.ProductModels>,IBLL.IProductModelsService	
    { 
		private static ProductModelsService _instance;
        private static readonly object Lock = new object();
        public static ProductModelsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ProductModelsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ProductModelsRepository;
        }  
    }
	
	public partial class ProductTypeService:BaseService<Model.ProductType>,IBLL.IProductTypeService	
    { 
		private static ProductTypeService _instance;
        private static readonly object Lock = new object();
        public static ProductTypeService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ProductTypeService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ProductTypeRepository;
        }  
    }
	
	public partial class RoleToPageToActionService:BaseService<Model.RoleToPageToAction>,IBLL.IRoleToPageToActionService	
    { 
		private static RoleToPageToActionService _instance;
        private static readonly object Lock = new object();
        public static RoleToPageToActionService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new RoleToPageToActionService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.RoleToPageToActionRepository;
        }  
    }
	
	public partial class RoleToSystemUserService:BaseService<Model.RoleToSystemUser>,IBLL.IRoleToSystemUserService	
    { 
		private static RoleToSystemUserService _instance;
        private static readonly object Lock = new object();
        public static RoleToSystemUserService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new RoleToSystemUserService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.RoleToSystemUserRepository;
        }  
    }
	
	public partial class SellerEmployeeService:BaseService<Model.SellerEmployee>,IBLL.ISellerEmployeeService	
    { 
		private static SellerEmployeeService _instance;
        private static readonly object Lock = new object();
        public static SellerEmployeeService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SellerEmployeeService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SellerEmployeeRepository;
        }  
    }
	
	public partial class SellerEmployeeRoleService:BaseService<Model.SellerEmployeeRole>,IBLL.ISellerEmployeeRoleService	
    { 
		private static SellerEmployeeRoleService _instance;
        private static readonly object Lock = new object();
        public static SellerEmployeeRoleService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SellerEmployeeRoleService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SellerEmployeeRoleRepository;
        }  
    }
	
	public partial class SellerEmployeeRoleMappingService:BaseService<Model.SellerEmployeeRoleMapping>,IBLL.ISellerEmployeeRoleMappingService	
    { 
		private static SellerEmployeeRoleMappingService _instance;
        private static readonly object Lock = new object();
        public static SellerEmployeeRoleMappingService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SellerEmployeeRoleMappingService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SellerEmployeeRoleMappingRepository;
        }  
    }
	
	public partial class SellerInsuranceProductImagesService:BaseService<Model.SellerInsuranceProductImages>,IBLL.ISellerInsuranceProductImagesService	
    { 
		private static SellerInsuranceProductImagesService _instance;
        private static readonly object Lock = new object();
        public static SellerInsuranceProductImagesService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SellerInsuranceProductImagesService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SellerInsuranceProductImagesRepository;
        }  
    }
	
	public partial class SellerInsuranceProductMappingsService:BaseService<Model.SellerInsuranceProductMappings>,IBLL.ISellerInsuranceProductMappingsService	
    { 
		private static SellerInsuranceProductMappingsService _instance;
        private static readonly object Lock = new object();
        public static SellerInsuranceProductMappingsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SellerInsuranceProductMappingsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SellerInsuranceProductMappingsRepository;
        }  
    }
	
	public partial class SellerInsuranceProductsService:BaseService<Model.SellerInsuranceProducts>,IBLL.ISellerInsuranceProductsService	
    { 
		private static SellerInsuranceProductsService _instance;
        private static readonly object Lock = new object();
        public static SellerInsuranceProductsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SellerInsuranceProductsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SellerInsuranceProductsRepository;
        }  
    }
	
	public partial class SellerInsuranceProductTagsService:BaseService<Model.SellerInsuranceProductTags>,IBLL.ISellerInsuranceProductTagsService	
    { 
		private static SellerInsuranceProductTagsService _instance;
        private static readonly object Lock = new object();
        public static SellerInsuranceProductTagsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SellerInsuranceProductTagsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SellerInsuranceProductTagsRepository;
        }  
    }
	
	public partial class SellersService:BaseService<Model.Sellers>,IBLL.ISellersService	
    { 
		private static SellersService _instance;
        private static readonly object Lock = new object();
        public static SellersService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SellersService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SellersRepository;
        }  
    }
	
	public partial class SellersOrganizationService:BaseService<Model.SellersOrganization>,IBLL.ISellersOrganizationService	
    { 
		private static SellersOrganizationService _instance;
        private static readonly object Lock = new object();
        public static SellersOrganizationService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SellersOrganizationService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SellersOrganizationRepository;
        }  
    }
	
	public partial class SellersTypeService:BaseService<Model.SellersType>,IBLL.ISellersTypeService	
    { 
		private static SellersTypeService _instance;
        private static readonly object Lock = new object();
        public static SellersTypeService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SellersTypeService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SellersTypeRepository;
        }  
    }
	
	public partial class SendSmsVerificationCodeLogService:BaseService<Model.SendSmsVerificationCodeLog>,IBLL.ISendSmsVerificationCodeLogService	
    { 
		private static SendSmsVerificationCodeLogService _instance;
        private static readonly object Lock = new object();
        public static SendSmsVerificationCodeLogService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SendSmsVerificationCodeLogService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SendSmsVerificationCodeLogRepository;
        }  
    }
	
	public partial class ServiceProjectService:BaseService<Model.ServiceProject>,IBLL.IServiceProjectService	
    { 
		private static ServiceProjectService _instance;
        private static readonly object Lock = new object();
        public static ServiceProjectService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ServiceProjectService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ServiceProjectRepository;
        }  
    }
	
	public partial class ServiceProviderService:BaseService<Model.ServiceProvider>,IBLL.IServiceProviderService	
    { 
		private static ServiceProviderService _instance;
        private static readonly object Lock = new object();
        public static ServiceProviderService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ServiceProviderService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ServiceProviderRepository;
        }  
    }
	
	public partial class ServiceProviderBranchService:BaseService<Model.ServiceProviderBranch>,IBLL.IServiceProviderBranchService	
    { 
		private static ServiceProviderBranchService _instance;
        private static readonly object Lock = new object();
        public static ServiceProviderBranchService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ServiceProviderBranchService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ServiceProviderBranchRepository;
        }  
    }
	
	public partial class ServiceProviderBranchServiceTypeService:BaseService<Model.ServiceProviderBranchServiceType>,IBLL.IServiceProviderBranchServiceTypeService	
    { 
		private static ServiceProviderBranchServiceTypeService _instance;
        private static readonly object Lock = new object();
        public static ServiceProviderBranchServiceTypeService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ServiceProviderBranchServiceTypeService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ServiceProviderBranchServiceTypeRepository;
        }  
    }
	
	public partial class ServiceProviderBranchTypeService:BaseService<Model.ServiceProviderBranchType>,IBLL.IServiceProviderBranchTypeService	
    { 
		private static ServiceProviderBranchTypeService _instance;
        private static readonly object Lock = new object();
        public static ServiceProviderBranchTypeService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ServiceProviderBranchTypeService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ServiceProviderBranchTypeRepository;
        }  
    }
	
	public partial class ServiceProviderProductService:BaseService<Model.ServiceProviderProduct>,IBLL.IServiceProviderProductService	
    { 
		private static ServiceProviderProductService _instance;
        private static readonly object Lock = new object();
        public static ServiceProviderProductService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ServiceProviderProductService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ServiceProviderProductRepository;
        }  
    }
	
	public partial class ServiceProviderTypeService:BaseService<Model.ServiceProviderType>,IBLL.IServiceProviderTypeService	
    { 
		private static ServiceProviderTypeService _instance;
        private static readonly object Lock = new object();
        public static ServiceProviderTypeService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new ServiceProviderTypeService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.ServiceProviderTypeRepository;
        }  
    }
	
	public partial class SortingCenterService:BaseService<Model.SortingCenter>,IBLL.ISortingCenterService	
    { 
		private static SortingCenterService _instance;
        private static readonly object Lock = new object();
        public static SortingCenterService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SortingCenterService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SortingCenterRepository;
        }  
    }
	
	public partial class StatusReasonService:BaseService<Model.StatusReason>,IBLL.IStatusReasonService	
    { 
		private static StatusReasonService _instance;
        private static readonly object Lock = new object();
        public static StatusReasonService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new StatusReasonService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.StatusReasonRepository;
        }  
    }
	
	public partial class sysdiagramsService:BaseService<Model.sysdiagrams>,IBLL.IsysdiagramsService	
    { 
		private static sysdiagramsService _instance;
        private static readonly object Lock = new object();
        public static sysdiagramsService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new sysdiagramsService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.sysdiagramsRepository;
        }  
    }
	
	public partial class SystemRoleService:BaseService<Model.SystemRole>,IBLL.ISystemRoleService	
    { 
		private static SystemRoleService _instance;
        private static readonly object Lock = new object();
        public static SystemRoleService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SystemRoleService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SystemRoleRepository;
        }  
    }
	
	public partial class SystemUserService:BaseService<Model.SystemUser>,IBLL.ISystemUserService	
    { 
		private static SystemUserService _instance;
        private static readonly object Lock = new object();
        public static SystemUserService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new SystemUserService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.SystemUserRepository;
        }  
    }
	
	public partial class Udesk_CallRecordService:BaseService<Model.Udesk_CallRecord>,IBLL.IUdesk_CallRecordService	
    { 
		private static Udesk_CallRecordService _instance;
        private static readonly object Lock = new object();
        public static Udesk_CallRecordService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new Udesk_CallRecordService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.Udesk_CallRecordRepository;
        }  
    }
	
	public partial class Udesk_ChatDetailService:BaseService<Model.Udesk_ChatDetail>,IBLL.IUdesk_ChatDetailService	
    { 
		private static Udesk_ChatDetailService _instance;
        private static readonly object Lock = new object();
        public static Udesk_ChatDetailService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new Udesk_ChatDetailService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.Udesk_ChatDetailRepository;
        }  
    }
	
	public partial class Udesk_ChatRecordService:BaseService<Model.Udesk_ChatRecord>,IBLL.IUdesk_ChatRecordService	
    { 
		private static Udesk_ChatRecordService _instance;
        private static readonly object Lock = new object();
        public static Udesk_ChatRecordService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new Udesk_ChatRecordService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.Udesk_ChatRecordRepository;
        }  
    }
	
	public partial class Udesk_CustomerInfoService:BaseService<Model.Udesk_CustomerInfo>,IBLL.IUdesk_CustomerInfoService	
    { 
		private static Udesk_CustomerInfoService _instance;
        private static readonly object Lock = new object();
        public static Udesk_CustomerInfoService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new Udesk_CustomerInfoService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.Udesk_CustomerInfoRepository;
        }  
    }
	
	public partial class Udesk_CustomerInfoOrderService:BaseService<Model.Udesk_CustomerInfoOrder>,IBLL.IUdesk_CustomerInfoOrderService	
    { 
		private static Udesk_CustomerInfoOrderService _instance;
        private static readonly object Lock = new object();
        public static Udesk_CustomerInfoOrderService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new Udesk_CustomerInfoOrderService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.Udesk_CustomerInfoOrderRepository;
        }  
    }
	
	public partial class Udesk_CustomerServiceInfoService:BaseService<Model.Udesk_CustomerServiceInfo>,IBLL.IUdesk_CustomerServiceInfoService	
    { 
		private static Udesk_CustomerServiceInfoService _instance;
        private static readonly object Lock = new object();
        public static Udesk_CustomerServiceInfoService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new Udesk_CustomerServiceInfoService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.Udesk_CustomerServiceInfoRepository;
        }  
    }
	
	public partial class UploadFilesService:BaseService<Model.UploadFiles>,IBLL.IUploadFilesService	
    { 
		private static UploadFilesService _instance;
        private static readonly object Lock = new object();
        public static UploadFilesService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new UploadFilesService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.UploadFilesRepository;
        }  
    }
	
	public partial class WeiXinChatRecordService:BaseService<Model.WeiXinChatRecord>,IBLL.IWeiXinChatRecordService	
    { 
		private static WeiXinChatRecordService _instance;
        private static readonly object Lock = new object();
        public static WeiXinChatRecordService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new WeiXinChatRecordService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.WeiXinChatRecordRepository;
        }  
    }
	
	public partial class WeiXinMessageBackService:BaseService<Model.WeiXinMessageBack>,IBLL.IWeiXinMessageBackService	
    { 
		private static WeiXinMessageBackService _instance;
        private static readonly object Lock = new object();
        public static WeiXinMessageBackService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new WeiXinMessageBackService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.WeiXinMessageBackRepository;
        }  
    }
	
	public partial class WeiXinUserInfoService:BaseService<Model.WeiXinUserInfo>,IBLL.IWeiXinUserInfoService	
    { 
		private static WeiXinUserInfoService _instance;
        private static readonly object Lock = new object();
        public static WeiXinUserInfoService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new WeiXinUserInfoService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.WeiXinUserInfoRepository;
        }  
    }
	
	public partial class WeiXinUserInsuranceOrderService:BaseService<Model.WeiXinUserInsuranceOrder>,IBLL.IWeiXinUserInsuranceOrderService	
    { 
		private static WeiXinUserInsuranceOrderService _instance;
        private static readonly object Lock = new object();
        public static WeiXinUserInsuranceOrderService GetInstance()
        {
			//if (_instance != null) return _instance;
			//lock (Lock)
			//{
				//if (_instance == null)
				{
					return _instance = new WeiXinUserInsuranceOrderService();
				}
			//}
			//return _instance;            
        }
		public override void SetCurrentRepository()
        {
            CurrentRepository = DbSession.WeiXinUserInsuranceOrderRepository;
        }  
    }
	
}